Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove mcode models and references #449

Merged
merged 8 commits into from
Oct 25, 2023
Merged

Conversation

v-rocheleau
Copy link
Contributor

@v-rocheleau v-rocheleau commented Oct 23, 2023

Removal of the MCode app needs to be performed in a two steps process.

  1. First, we need to remove all references to MCode from the other applications, which entails performing the data migrations in our instances (individual mcode fields) to remove the models without losing data.

  2. Finally, when all our instances have been migrated according to the first step, we can completely remove the "mcode" application directory from katsu.

Step 1 requires the mcode migrations (/chord_metadata_service/mcode/migrations), which is why we can't remove the "mcode" directory right away in step 1.

This PR and its release are the first step in this process.

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #449 (6ba8ec2) into develop (bdf4b01) will increase coverage by 1.68%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #449      +/-   ##
===========================================
+ Coverage    86.43%   88.12%   +1.68%     
===========================================
  Files          129      115      -14     
  Lines         5161     4310     -851     
  Branches       680      559     -121     
===========================================
- Hits          4461     3798     -663     
+ Misses         521      364     -157     
+ Partials       179      148      -31     
Files Coverage Δ
chord_metadata_service/chord/data_types.py 100.00% <ø> (ø)
chord_metadata_service/chord/ingest/__init__.py 100.00% <ø> (ø)
...hord_metadata_service/chord/ingest/phenopackets.py 90.09% <ø> (ø)
chord_metadata_service/chord/views_data_types.py 96.52% <ø> (-0.03%) ⬇️
chord_metadata_service/chord/views_search.py 89.91% <100.00%> (+1.56%) ⬆️
chord_metadata_service/chord/workflows/metadata.py 100.00% <ø> (ø)
chord_metadata_service/patients/api_views.py 100.00% <100.00%> (ø)
chord_metadata_service/patients/cleanup.py 100.00% <ø> (ø)
chord_metadata_service/patients/descriptions.py 100.00% <ø> (ø)
chord_metadata_service/patients/filters.py 96.66% <ø> (+9.82%) ⬆️
... and 6 more

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@davidlougheed davidlougheed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@v-rocheleau v-rocheleau merged commit 2817fd8 into develop Oct 25, 2023
7 checks passed
@v-rocheleau v-rocheleau deleted the features/remove-mcode branch October 25, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants